package com.heima.model.behavior.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 * APP关注行为表
 */
@ApiModel(value="com-heima-model-behavior-pojos-ApFollowBehavior")
@Data
@TableName(value = "ap_follow_behavior")
public class ApFollowBehavior {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private Long id;

    /**
     * 实体ID
     */
    @TableField(value = "entry_id")
    @ApiModelProperty(value="实体ID")
    private Integer entryId;

    /**
     * 文章ID
     */
    @TableField(value = "article_id")
    @ApiModelProperty(value="文章ID")
    private Integer articleId;

    /**
     * 关注用户ID
     */
    @TableField(value = "follow_id")
    @ApiModelProperty(value="关注用户ID")
    private Long followId;

    /**
     * 登录时间
     */
    @TableField(value = "created_time")
    @ApiModelProperty(value="登录时间")
    private Date createdTime;
}
